﻿using System.Web.Mvc;
using SuperStar.Models;

namespace SuperStar.Controllers
{
    [ChildActionOnly]
    public class GlobalController : Controller
    {
        private readonly ProductTypeModels _productTypeModels = new ProductTypeModels();

        public ActionResult CategoryModule()
        {
            var productTypes = _productTypeModels.GetList();
            return View("CategoryModule",productTypes);
        }

    }
}
